short division with remainders